home *** CD-ROM | disk | FTP | other *** search
- Path: news.clark.net!usenet
- From: yom@clark.net (yom)
- Newsgroups: vmsnet.misc,comp.lang.c
- Subject: Re: How to run a C program taking command line arguments on VMS
- Date: 29 Feb 1996 02:50:40 GMT
- Organization: Clark Internet Services, Inc.
- Message-ID: <4h34a0$6g0@clarknet.clark.net>
- References: <4h1u5d$s5c@news.fsu.edu>
- NNTP-Posting-Host: yom.clark.net
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- It's been a long time since I've been on a VMS machine, but I think
- you have to assign a global symbol for your executable:
-
- $ foo :== $usr:[bar]foo.exe
-
-
- Song (yom@clark.net)
-
- In article <4h1u5d$s5c@news.fsu.edu>, meil@firnvx.firn.edu says...
- >
- >Could someone tell me how to run a C program which takes command line
- >arguments on VAX/VMS? I have checked the FAQ about openVMS and tried
- the
- >instructions. But I couldn't get it work. I don't have an openVMS
- mannual.
- >Please help me!
- >
- >My program is like:
- >
- >/* myprog.c */
- >
- > main(argn, **argv)
- > {
- >
- > ...
- >
- > }
- >
- >If run on Unix or DOS, I could type something like
- >
- > myprog -lu abcd
- >
- >How to run it on VMS?
- >
- >I'd appreciate your help!
- >
-
-